﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FluentValidation;

using Revis.VClinicNet.App.Internal.Dto.Validation.Fluent;

namespace Revis.VClinicNet.App.Internal.Dto.Validation
{
    public class EntryCreateDtoRules : ValidationRules<EntryCreateDto>
    {
        public override void SetUpRules()
        {
            RuleFor(e => e.Reason).RequireWithMessage("Powód wizyty nie może być pusty");
        }
    }
}
